﻿@model Orion.Models.HomeIndexViewModel

@{
    ViewBag.Title = @Model.MainNewsArticle.Title;
    Layout = "~/Views/Shared/_PrintLayout.cshtml";
}

<article>
         @{DateTime temp = Model.MainNewsArticle.ContentDate; }
        <h1>@Model.MainNewsArticle.Title</h1>
        <span class="left">@Model.MainNewsArticle.Author</span>
        <span class="right"> @temp.ToString("dd MMMM yyyy")</span>
        <div class="clear"></div>
       <div><img src="@Model.MainNewsArticle.Picture" alt="@Model.MainNewsArticle.Picture" />

        @Html.Raw(Model.MainNewsArticle.TextBody)</div> 
        
</article>